#ifndef EXTSIMLE_H
#define EXTSIMLE_H

#include "IBackgroundWorker.h"
#include "UndefExtension.h"

/*===============================================================================
	Simple Extension without GUI
===============================================================================*/

class ExtSimple : public UndefExtension , public IBackgroundWorker
{
public:
	virtual bool Engine() = 0; 
	virtual void Result() = 0;
		
	virtual void unset()
	{
		if(this->GetThread() != NULL)
			if(this->InProgress())
				GetThread()->Kill();
	}	
};

#endif